using System;
using System.Collections.Generic;
using System.Text;
using MbUnit.Framework;
using EnterpriseLibraryContrib.PostSharp4EntLib.PolicyInjection;

namespace EnterpriseLibraryContrib.PostSharp4EntLib.Test.PolicyInjection.SystemTests
{
    [TestFixture]
    public class MethodAttributes
    {
        [Test]
        [LogCallHandler]
        public void TestNormal()
        {
            
        }

        
        [LogCallHandler]
        private void Private()
        {
            
        }

        [Test]
        public void TestPrivate()
        {
            this.Private();
        }

        [TestFixture]
        public class BaseClass
        {
            [Test]
            [LogCallHandler]
            public virtual void VirtualMethod()
            {
                
            }

        }

        [TestFixture]
        public class DerivedClass : BaseClass
        {
            [Test]
            [LogCallHandler]
            public override void VirtualMethod()
            {
                
            }
            
        }

        public interface IInterfaceDefinition
        {
            void SomeMethod();
        }

        [TestFixture]
        public class InterfaceImplementation : IInterfaceDefinition
        {

            [LogCallHandler]
            [Test]
            public void SomeMethod()
            {
                
            }

        }




    }
}
